package T03_ThreadState;

public class S002 {
  public static void main(String[] args) {
    Thread t1 = new Thread(() -> {
      while (true) {
      }
    });
    t1.start();
    // 线程开始执行后，拿到线程的状态
    System.out.println(t1.getState());
  }
}
